home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
lcppb.zip
/
LCPPANS.ZIP
/
MAKEANS
< prev
next >
Wrap
Text File
|
1991-07-08
|
4KB
|
199 lines
#-----------------------------------------------------------------------------
#
# LEARNING C++ (for Borland C++ 2.0)
#
# by Tom Swan
#
# MAKEANS -- Make file for answers to exercises and questions
#
# To compile all programs, make sure C:\BC\BIN is in your
# system path (replace C: with the drive letter where you
# installed Borland C++.) Then enter
#
# MAKE -fMAKEANS
#
# Copyright (c) 1991 by Tom Swan. All rights reserved.
#
#-----------------------------------------------------------------------------
# IMPORTANT:
# If files DISP.H and DISP.OBJ are not stored in
# \lcppb\lib, change the path in the following definition
# to the location of the two files. Do not end the path
# with a backslash.
lib=\lcppb\lib
# Library and include-file macros. If you change the library
# file name, you'll have to change it in every MAKE file.
library=$(lib)\lcpp.lib
include=$(lib)
# OPTION:
# To examine programs with Turbo Debugger, remove the
# leading # from the beginning of the following command. This
# will increase disk consumption drastically, so you'll
# normally leave the line as is.
#debugging = 1
# Note: If you change the debugging symbol, delete all .OBJ
# and .EXE files before remaking.
# These statements create appropriate macros based on the
# setting of the debugging symbol above. The -v option adds
# debugging information to compiled programs.
!if $d(debugging)
compile=bcc -c -v -I$(include) $(library)
link=bcc -v -I$(include) $(library)
!else
compile=bcc -c -I$(include) $(library)
link=bcc -I$(include) $(library)
!endif
# -- Force MAKE to recognize various dependencies
depends: \
alphabet.exe aquote.exe ask.exe bitdate.exe border.exe \
cblanks.exe circum.exe counts.exe cr2lf.exe cube.exe \
dogcat.exe encrypt.exe fncount.exe fourfps.exe fpmul.exe \
fptable.exe getvals.exe head2.exe limit.exe lstcount.exe \
minmax.exe odd.exe onekey.exe pass2dos.exe prmpt.exe \
puncs.exe putln.exe rain1.exe rain2.exe rect.exe redalert.exe \
row.exe smallwin.exe strheap.exe subdirs.exe tab4.exe \
ticks.exe toupper.exe upfile.exe upperstr.exe words2.exe
# -- Compile executable programs
alphabet.exe: alphabet.cpp
$(link) alphabet
aquote.exe: aquote.cpp
$(link) aquote
ask.exe: ask.cpp
$(link) ask
bitdate.exe: bitdate.cpp
$(link) bitdate
border.exe: border.cpp
$(link) border
cblanks.exe: cblanks.cpp
$(link) cblanks
circum.exe: circum.cpp
$(link) circum
counts.exe: counts.cpp
$(link) counts
cr2lf.exe: cr2lf.cpp
$(link) cr2lf
cube.exe: cube.cpp
$(link) cube
dogcat.exe: dogcat.cpp
$(link) dogcat
encrypt.exe: encrypt.cpp
$(link) encrypt
fncount.exe: fncount.cpp
$(link) fncount
fourfps.exe: fourfps.cpp
$(link) fourfps
fpmul.exe: fpmul.cpp
$(link) fpmul
fptable.exe: fptable.cpp
$(link) fptable
getvals.exe: getvals.cpp
$(link) getvals
head2.exe: head2.cpp
$(link) head2
limit.exe: limit.cpp
$(link) limit
lstcount.exe: lstcount.cpp
$(link) lstcount
minmax.exe: minmax.cpp
$(link) minmax
odd.exe: odd.cpp
$(link) odd
onekey.exe: onekey.cpp
$(link) onekey
pass2dos.exe: pass2dos.cpp
$(link) pass2dos
prmpt.exe: prmpt.cpp
$(link) prmpt
puncs.exe: puncs.cpp
$(link) puncs
putln.exe: putln.cpp
$(link) putln
rain1.exe: rain1.cpp
$(link) rain1
rain2.exe: rain2.cpp
$(link) rain2
rect.exe: rect.cpp
$(link) rect
redalert.exe: redalert.cpp
$(link) redalert
row.exe: row.cpp
$(link) row
smallwin.exe: smallwin.cpp
$(link) smallwin
strheap.exe: strheap.cpp
$(link) strheap
subdirs.exe: subdirs.cpp
$(link) subdirs
tab4.exe: tab4.cpp
$(link) tab4
ticks.exe: ticks.cpp
$(link) ticks
toupper.exe: toupper.cpp
$(link) toupper
upfile.exe: upfile.cpp
$(link) upfile
upperstr.exe: upperstr.cpp
$(link) upperstr
words2.exe: words2.cpp
$(link) words2